print(sorted({1: 'D', 2: 'B', 3: 'B', 4: 'E', 5: 'A'}))

array = [{"age": 20, "name": "a"}, {"age": 25, "name": "b"}, {"age": 10, "name": "c"}]
array = sorted(array, key=lambda x: x["age"])
print(array)

print("-----", end='')  # end=''不换行
print(ascii(1))
